package ua.org.enginer.remoting.events
{
	import flash.events.Event;
	
	import ua.org.enginer.remoting.vo.RemoteResult;

	public class RemoteResultEvent extends Event {
		
		public static var COMPLETE:String = "complete";
		public static var ERROR:String = "error";
		
		public var result:RemoteResult;
		
		public function RemoteResultEvent(eventType:String, result:RemoteResult)	{
			super(eventType, false, false);
			this.result = result;
		}
		
		override public function clone() : Event {
			return new RemoteResultEvent(type, result)
		}
	}
}